﻿@using SquishIt.Framework
@using SquishIt.Mvc
@using Viettel.VOFFICE.util
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title>@ViewBag.Title</title>
    <meta http-equiv='Content-Type' content='text/html; charset=UTF-8' />
    <link rel="SHORTCUT ICON" href="../../viettel.ico" />
    @{
        var region = Viettel.VOFFICE.Web.Helpers.CultureHelper.GetCurrentCulture();
    }
    <link href="@Url.Content("~/Content/style/layout.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/style/screen.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/themes/custom-theme/jquery-ui-1.9.2.custom.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Scripts/menu/ddsmoothmenu.css")" rel="stylesheet" type="text/css" />
@*    @(Bundle.Css()
        .Add("~/Content/style/screen.css")
        .Add("~/Content/style/layout.css")
        .ForceRelease()
        .MvcRender("~/Content/style/screen.min.css")
    )  
    @(Bundle.Css()
        .Add("~/Content/themes/custom-theme/jquery-ui-1.9.2.custom.css")
        .ForceRelease()
        .MvcRender("~/Content/themes/custom-theme/jquery-ui-1.9.2.custom.min.css")
    )*@
    @{
        if (region.ToLower().Equals("lo-la"))
        {
        <style type="text/css">
            body, input, textarea, .ui-widget
            {
                font: 13px VangViengMXRegular, Helvetica, arial, freesans, clean, sans-serif !important;
            }
        </style>
        }
    }

    <script src="@Url.Content("~/Scripts/jquery-1.8.2.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery-ui-1.9.2.custom.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/date.format.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.cookie.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.history.js")" type="text/javascript"></script>

    <script src="@Url.Content("~/Scripts/jquery.validate.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.pager.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/globalize.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/cultures/globalize.culture." + region + ".js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/cultures/VOffice.lang." + region + ".js")" type="text/javascript"></script>

    <script src="@Url.Content("~/Scripts/underscore.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/backbone.js")" type="text/javascript"></script>
    
    <script src="@Url.Content("~/Scripts/VOffice.indicator.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/VOffice.utility.js")" type="text/javascript"></script>

    <script src="@Url.Content("~/Scripts/menu/ddsmoothmenu.js")" type="text/javascript"></script>

@*    @(Bundle.JavaScript()
        .Add("~/Scripts/jquery-1.8.2.js")
        .Add("~/Scripts/jquery-ui-1.9.2.custom.min.js")
        .Add("~/Scripts/date.format.js")
        .Add("~/Scripts/jquery.cookie.js")
        .Add("~/Scripts/jquery.history.js")
        .Add("~/Scripts/VOffice.indicator.js")
        .Add("~/Scripts/VOffice.utility.js")
        .Add("~/Scripts/jquery.validate.js")
        .Add("~/Scripts/jquery.pager.js")
        .Add("~/Scripts/underscore.js")
        .Add("~/Scripts/backbone.js")
        .Add("~/Scripts/menu/ddsmoothmenu.js")
        .Add("~/Scripts/globalize.js")
        .ForceRelease()
        .MvcRender("~/Scripts/admin.js.min.js")
    )*@

    @RenderSection("Styles", required: false)
</head>
<body>
    @Html.AntiForgeryToken(AppConstants.TokenSalt)
    <div id="header">
        <div id="navigationAdmin">@Html.Partial("../Common/SystemMenu")</div>
    </div>
    <div id="main-content">@RenderBody()</div>
    <div id="footer">
    </div>
</body>
</html>
